package com.piesat.quake.business.device.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.piesat.quake.business.device.mapper.EventDataMapper;
import com.piesat.quake.business.device.model.EventData;
import com.piesat.quake.business.device.service.EventDataService;

import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author ${author}
 * @since 2023-03-21
 */
@Service
public class EventDataServiceImpl extends ServiceImpl<EventDataMapper, EventData> implements EventDataService {

    @Override
    public List<EventData> getEvents(int count, String id) {
        return baseMapper.getEvents(id,count);
    }
}
